d7a429150bbc107c5721e2d8ddb90b5bb28a36ee,phoneGap/src/com/github/masahirosuzuka/PhoneGapIntelliJPlugin/ui/PhoneGapRunConfigurationEditor.java,PhoneGapRunConfigurationEditor,createEditor,#,64
Before Change
addCommandItems(myCommand);
return FormBuilder.createFormBuilder()
.addLabeledComponent("PhoneGap/Cordova executable path:", myExecutablePathField)
.addLabeledComponent("Command:", myCommand)
.addLabeledComponent("Platform:", myPlatformField)
.getPanel();
}
After Change
addPlatformItems(myPlatformField);
addCommandItems(myCommand);
JBLabel label = new JBLabel("edit");
label.addMouseListener(new MouseAdapter() {
@Override
public void mouseClicked(MouseEvent e) {
ShowSettingsUtil.getInstance().editConfigurable(myProject, new PhoneGapConfigurable(myProject));
}
});
return FormBuilder.createFormBuilder()
.addLabeledComponent(PhoneGapBundle.message("phonegap.conf.executable.name"), myExecutablePathField)
.addLabeledComponent(PhoneGapBundle.message("phonegap.conf.work.dir.name"), myWorkDirField)
.addLabeledComponent("Command:", myCommand)
.addLabeledComponent("Platform:", myPlatformField)
.addComponent(label)
.getPanel();
}
private static void addCommandItems(ComboBox box) {